package com.solute.utils.services.dao;

import java.util.List;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import com.solute.domain.CodeVO;

@Component
public interface CodeDao {
	@Select({
		"SELECT name,",
		"       code,",
		"       message,",
		"       `group`",
		"  FROM code",
		" WHERE `group` = #{group}"})
	public <T> List<CodeVO> getCodesInGroup(T group);
}
